package com.cxhc.system.mapper.app;

import com.cxhc.system.domain.app.ExaminationUserQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 考试列表查询接口
 *
 * @author wuxuan
 * @date 2024-07-30
 */
@Mapper
public interface ExaminationUserQuestionMapper {


    /**
     * 用户考试答案录入
     *
     * @param examinationUserQuestionList 用户考试答案录入
     * @return 考试列表查询接口
     */
    int batchInsert(List<ExaminationUserQuestion> examinationUserQuestionList);

    /**
     * 查询用户考试考题
     *
     * @param userId 用户ID
     * @param examinationId 考试
     * @return 查询用户考试考题
     */
    List<ExaminationUserQuestion> selectByUserAndExamination(@Param("userId") String userId, @Param("examinationId")String examinationId);
}
